<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>税盘管理</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">

    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>

    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css" />
    <link rel="stylesheet" href="/css/input_tags.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css" />
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-multiselect.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>

    <link rel="stylesheet" href="/css/skin.css"/>
    <style>
        #useCompanyId2 + .btn-group .multiselect-container>li>a>label {
            padding-left: 24px;
        }

        #useCompanyId2 + .btn-group input[type=checkbox] {
            margin: 12px -20px 0 !important;
        }
        #useCompanyId + .btn-group .multiselect-container>li>a>label {
            padding-left: 24px;
        }

        #useCompanyId + .btn-group input[type=checkbox] {
            margin: 12px -20px 0 !important;
        }
    </style>
</head>
<body>
<div class="container-fluid p-t-15">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-header">
                    <h1>税盘管理</h1>
                </div>
                <div class="card-body">
                    <div class="row content-action">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="pull-right">
                                <div class="min-search pull-left">
                                    <input class="form-control" type="text" placeholder="请输入公司名称"
                                           id="companyName" name="companyName">
                                    <button class="btn btn-primary" type="button" onclick="searchOrderList(1)">
                                        <i class="mdi mdi-magnify"></i><span>搜索</span>
                                    </button>
                                </div>
                                <button class="btn btn-default" data-toggle="collapse"
                                        data-target="#addTaxDisc" aria-expanded="false"
                                        aria-controls="addTaxDisc">
                                    <i class="mdi mdi-sort-variant"></i>添加税盘
                                </button>
                            </div>
                        </div>
                    </div>
                    <table id="taxDiscFrom"></table>
                </div>
            </div>
        </div>
    </div>
</div>


<!-- 新增税盘 弹窗 -->
<div class="modal fade bs-example-modal-lg modal-edit" tabindex="-1" role="dialog" id="addTaxDisc">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4>添加税盘</h4>
            </div>
            <input type="hidden" id="cpFollowPlanIdHide">
            <div class="row" style="padding: 30px">
                <div class="form-group col-lg-4 col-md-2 col-sm-4 col-xs-6">
                    <label for="searchCompanySelect" onchange="" class="control-label label-required">所属公司</label>
                    <div>
                        <select id="searchCompanySelect" name="searchCompanySelect" class="form-control" type="text"
                                placeholder="所属公司" ></select>
                    </div>
                </div>
                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                    <label class="control-label label-required" >主税盘号</label>
                    <div class="form-content">
                        <input id="taxNumber" type="text" class="form-control" placeholder="请输入主税盘号" autocomplete="off">
                    </div>
                </div>
                <!--<div class="form-group col-lg-4 col-md-2 col-sm-4 col-xs-6">
                    <label for="useCompanyId" class="control-label label-required">从税盘号</label>
                    <div>
                        <select id="useCompanyId" name="useCompanyId" class="form-control" type="text"
                                placeholder="从税盘号"></select>
                    </div>
                </div>-->
                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                    <label class="control-label label-required">从税盘号</label>
                    <div class="form-content">
                        <select multiple="multiple" id="useCompanyId"></select>
                    </div>
                </div>
                <div class="clearfix hidden-xs"></div>

                <div class="text-right" style="margin-top: 20px">
                    <button class="btn btn-primary" type="button" onclick="addTaxDisc()">
                        <span>提交</span></button>
                    <button class="btn btn-default" onclick="clearAllData()">取消</button>
                </div>

            </div>
        </div>
    </div>
</div>

<!-- 修改税盘 弹窗 -->
<div class="modal fade bs-example-modal-lg modal-edit" tabindex="-1" role="dialog" id="updateTaxDisc">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4>修改税盘</h4>
            </div>
            <input type="hidden" id="companyIdHide">
            <div class="row" style="padding: 30px">
                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                    <label class="control-label label-required" >公司名称</label>
                    <div class="form-content">
                        <input id="companyName2" type="text" class="form-control" placeholder="请输入公司名称" autocomplete="off" readonly unselectable="on">
                    </div>
                </div>
                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                    <label class="control-label label-required" >主税盘号</label>
                    <div class="form-content">
                        <input onkeyup="changeName();" id="taxNumber2" type="text" class="form-control" placeholder="请输入主税盘号" autocomplete="off">
                    </div>
                </div>
               <!-- <div class="form-group col-lg-4 col-md-2 col-sm-4 col-xs-6">
                    <label for="useCompanyId2" class="control-label label-required">从税盘号</label>
                    <div>
                        <select id="useCompanyId2" name="useCompanyId2" class="form-control" type="text"
                                placeholder="从税盘号"></select>
                    </div>
                </div>-->
                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                    <label class="control-label label-required">从税盘号</label>
                    <div class="form-content">
                        <select multiple="multiple" id="useCompanyId2"></select>
                    </div>
                </div>
                <div class="clearfix hidden-xs"></div>
                <div class="text-right" style="margin-top: 20px;">
                    <button class="btn btn-primary" type="button" onclick="subUpdateTaxDisc()">
                        <span>提交</span></button>
                    <button class="btn btn-default" onclick="clearAllData()">取消</button>
                </div>

            </div>
        </div>
    </div>
</div>

</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<script src="/js/crm/common/city.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>

<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<script src="/js/verSelect.2.0.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/activityManager/addGiftProduct.js"></script>
<script src="/js/crm/systemManager/taxDiscFrom.js"></script>
</html>